home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2234 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.3 KB

  1. Path: news.uh.edu!UHSFIN!SAPSADEB
  2. From: sapsadeb@UHSFIN.UHSA.UH.EDU
  3. Newsgroups: comp.lang.c,comp.os.vms
  4. Subject: Re: Problems with DEC C
  5. Date: 20 Jan 1996 00:00:20 GMT
  6. Organization: University of Houston System
  7. Distribution: world
  8. Message-ID: <4dpbak$pkn@masala.cc.uh.edu>
  9. References: <4dojfi$31a@news.aero.org> <4dp87h$mml@masala.cc.uh.edu>
  10. Reply-To: sapsadeb@UHSFIN.UHSA.UH.EDU
  11. NNTP-Posting-Host: uhsfin.uhsa.uh.edu
  12.  
  13. In article <4dp87h$mml@masala.cc.uh.edu>, sapsadeb@UHSFIN.UHSA.UH.EDU writes:
  14. >In article <4dojfi$31a@news.aero.org>, johnson@halley.aero.org ("Wowbagger the Infinitely Prolonged") writes:
  15. >>
  16. >>
  17. >>I have been trying to install XV 3.10, NETPBM, and XANIM on my VMSCluster.
  18. >>I have Alphas and VAXStations running OpenVMS 6.2 and DEC C 5.2.  I keep
  19. >>getting errors such as:
  20. >> 
  21. >>  typedef unsigned char  u_char;
  22. >>.........................^
  23. >>%CC-E-NOLINKAGE, In this declaration, "u_char" has no linkage and has a prior
  24. >>declaration in this scope at line number 304 in file
  25. >>SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;3.
  26. >>at line number 82 in file PD$ROOT:[X11.MISC.XV310]XV.H;1
  27. >>
  28. >>I get similar errors for u_int, u_short, u_int, and u_long.  Has anyone seen
  29. >>errors like these?  How do I get around them?  I don't think it is simply a
  30. >>question of using /DECC vs. /VAXC.
  31. >>
  32. >>TIA.
  33. >>--------------------------------------------------------------
  34. >>Rick Johnson                   |  
  35. >>The Aerospace Corporation      | "I thought, therefore I was"              
  36. >>email: johnson@halley.aero.org |              
  37. >>phone: (310)336-3588           |            - Descartes...now
  38. >>
  39. >
  40. >Yes. 
  41. >
  42. >The header file types.h has been changed.
  43. >
  44. >You can usually get around errors caused by this by using
  45. >/define=("_DECC_V4_SOURCE")
  46. >
  47. >Code written to use Multinet 3.4 which includes Multinet's netdb.h
  48. >header needs to be compiled with 
  49. >/define=("__SOCKET_TYPEDEFS","_DECC_V4_SOURCE"). 
  50. >I have heard that Multinet 3.5 does not need this one though.
  51.  
  52. OOPS! Let me clarify. I have heard that code using Multinet 3.5
  53.       headers does not need __SOCKET_TYPEDEFS defined. It still 
  54.       needs _DECC_V4_SOURCE defined if Multinet's netdb.h header
  55.       and Multinet's types.h header are both included.
  56.  
  57. >
  58. >BTW, the header file stdlib.h no longer includes types.h, so you
  59. >may get stung by that one too.
  60. >
  61. >David Bratton
  62. >University of Houston System
  63. >DBratton@uh.edu
  64.